package nineteen;

public enum OzWhich {

    /**
     * 四个方向
     */
    WEST("Miss Gulch , aka the Wicked Witch of the West"),
    NORTH("Glinda , the Good Which of the North"),
    EAST("Wicked Witch of the East, wearer of the Ruby Slippers, crushed by Dorothy' house"),
    SOUTH("Good by inference ,but missing");

    private String description;

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }



    OzWhich(String description) {
        this.description = description;
    }

    public static void main(String[] args) {
        for (OzWhich witch : OzWhich.values()) {
            System.out.println(witch + ": " + witch.getDescription());
        }
    }
}
